package tree;

public class PostTraverse {
    public static void postTraverse(TreeNode root)
    {
        if (root != null) {
            postTraverse(root.getLeft());
            postTraverse(root.getRight());
            System.out.print(root.getValue() + " ");
        }
    }
}
